package com.cloudwise.service;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/9/10 10:51
 * @description：子类
 * @modified By：
 * @version: 1.0
 */
public class Son  extends Father {
    public Son() {
        System.out.println("子类构造器");
    }

    @Override
    public void show() {
        System.out.println("展示儿子");
    }

    public static void main(String[] args) {
        Father obj= new Son();
        obj.show();
    }
}
